import Layout from '@/layout/index'

export default [
  {
    path: '/orderManage',
    name: 'orderManage',
    component: Layout,
    meta: { title: '订单管理', icon: 'menu-orderCenter', menuId: 4, showIndex: 4 },
    children: [
      {
        path: 'orderInfo',
        name: 'orderInfo',
        component: () => import('@/views/orderCenter/orderManage/index'),
        meta: { title: '订单信息', menuId: 401, showIndex: 1 }
      },
      // 隐藏在线订单
      //   {
      //     path: 'wechatOrderManage',
      //     name: 'wechatOrderManage',
      //     component: () => import('@/views/orderCenter/wechatOrderManage/index'),
      //     meta: { title: '在线订单', menuId: 402, showIndex: 2 }
      //   },
      {
        path: 'batchDispath',
        name: 'batchDispath',
        component: () => import('@/views/orderCenter/batchDispath/index'),
        meta: { title: '批量派单', menuId: 403, showIndex: 3 }
      },
      {
        path: 'backOrderManage',
        name: 'backOrderManage',
        component: () => import('@/views/orderCenter/backOrderManage/index'),
        meta: { title: '异常订单', menuId: 404, showIndex: 4 }
      },
      {
        path: 'orderReceipt',
        name: 'orderReceipt',
        component: () => import('@/views/orderCenter/orderReceipt/index'),
        meta: { title: '订单回执', menuId: 405, showIndex: 5 }
      },
      {
        path: 'overtimeStatistics',
        name: 'overtimeStatistics',
        component: () => import('@/views/systemSetting/overtimeStatistics/index'),
        meta: { title: '订单超时记录', menuId: 406, showIndex: 6 }
      },
      {
        path: 'gasPartOrder',
        name: 'gasPartOrder',
        component: () => import('@/views/orderCenter/gasPartOrder/index'),
        meta: { title: '燃气配件订单', menuId: 407, showIndex: 7 }
      }
    ]
  }
]
